<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%--获取应用上下文路径--%>
<h1>${pageContext.servletContext.contextPath}</h1>
</body>
</html>
